package com.koi.plus.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.koi.model.vo.system.SysLoginUserVo;
import com.koi.pojo.system.SysLoginUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ･ᴗ･
 * @description [系统用户-数据库连接层]
 */
@Mapper
public interface SysLoginUserMapper extends BaseMapper<SysLoginUser> {

    /**
     * @description [用户表、部门表左连接查询]
     * @author ･ᴗ･
     */
    Page<SysLoginUser> listPage(Page<SysLoginUser> page, @Param("vo") SysLoginUserVo vo);

    /**
     * @description [多条件数据导出]
     * @author ･ᴗ･
     */
    List<SysLoginUser> listLoginUser(@Param("vo") SysLoginUserVo vo);

}
